package com.homedo.odin.solution.model.dto;

import com.baomidou.mybatisplus.annotations.TableField;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.homedo.odin.solution.model.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;


@ApiModel(description = "河币订单")
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class HebiOrderBean extends BaseBean {

    /**
     * id
     */
    private Integer id;
    /**
     * uuid
     */
    private String uuid;

    /**
     * 是否删除 0：否 1：是
     */
    private Integer isDel;
    /**
     * 创建人编号
     */
    @TableField("created_by")
    private Integer createdBy;
    /**
     * 创建时间
     */
    @TableField("created_time")
    private Date createdTime;
    /**
     * 修改人编号
     */
    @TableField("modified_by")
    private Integer modifiedBy;
    /**
     * 最后修改时间
     */
    @TableField("modified_time")
    private Date modifiedTime;
    /**
     * 订单状态 冻结：freeze 返还：restitution 转出：rollout
     */
    @ApiModelProperty(" 订单状态 冻结：freeze 返还：restitution 转出：rollout 收益：profit")
    private String status;


    @ApiModelProperty("业务ID")
    private String bizId;

    @ApiModelProperty("用户ID")
    private Integer userId;


    @ApiModelProperty(" 业务类型 悬赏：BOUNTY 方案：SOLUTION 规范：standard")
    private String bizType;


    @ApiModelProperty("金额")
    private BigDecimal hebiAmount;

    @ApiModelProperty("折扣后金额")
    private BigDecimal discountAmount;

    @ApiModelProperty("订单交易状态")
    private String resultStatus;

    @ApiModelProperty("收益来源")
    private Integer fromUserId;

}
